package com.heqiang.domain.result;//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//


import java.io.Serializable;

public class Result<T> implements Serializable {
    private static final long serialVersionUID = 262888242269244717L;
    private Integer code = 1;//0: 失败   1: 成功
    private String info;
    private T data;
    private boolean success;

    public Result() {
    }

    public T getData() {
        return this.data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Integer getCode() {
        return this.code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getInfo() {
        return this.info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static long getSerialVersionUID() {
        return 262888242269244717L;
    }

    public boolean isSuccess() {
        return this.success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
